import request from '@/utils/request'

export function reApply(data){
  return request({
    method:"post",
    url:"/comprehensive/biyeapply/reApply",
    data
  });
}

export function listStuSportScore(stuNo) {
  return request({
    url: "/comprehensive/biyeapply/listStuSportScore/" + stuNo,
    method: "get"
  });
}

export function getStuScoreMajorRank(stuNo) {
  return request({
    url: "/comprehensive/biyeapply/getStuScoreMajorRank/" + stuNo,
    method: "get"
  });
}

export function manyAudit(data){
  return request({
    method:"post",
    url:"/comprehensive/biyeapply/manyAudit",
    data
  });
}



export function jwcExport(params){
  return request({
    url:"/comprehensive/biyeapply/jwcExport",
    method:"GET",
    params
  });
}

export function jwcAudit(data){
  return request({
    method:"post",
    url:"/comprehensive/biyeapply/jwcAudit",
    data
  });
}

export function listJwcAll(params){
  return request({
    url:"/comprehensive/biyeapply/listJwcAll",
    method:"GET",
    params
  });
}

export function listJwc(params){
  return request({
    url:"/comprehensive/biyeapply/listJwc",
    method:"GET",
    params
  });
}

export function xwExport(params){
  return request({
    url:"/comprehensive/biyeapply/xwExport",
    method:"GET",
    params
  });
}

export function xwAudit(data){
  return request({
    method:"post",
    url:"/comprehensive/biyeapply/xwAudit",
    data
  });
}

export function listXwAll(params){
  return request({
    url:"/comprehensive/biyeapply/listXwAll",
    method:"GET",
    params
  });
}

export function listXw(params){
  return request({
    url:"/comprehensive/biyeapply/listXw",
    method:"GET",
    params
  });
}



export function fdyExport(params) {
  return request({
    url: "/comprehensive/biyeapply/fdyExport",
    method: "GET",
    params
  });
}


export function fdyAudit(data) {
  return request({
    method: "post",
    url: "/comprehensive/biyeapply/fdyAudit",
    data
  });
}

export function listFdyAll(params) {
  return request({
    url: "/comprehensive/biyeapply/listFdyAll",
    method: "GET",
    params
  });
}


export function listFdy(params) {
  return request({
    url: "/comprehensive/biyeapply/listFdy",
    method: "get",
    params
  });
}

export function listOwnSportScore() {
  return request({
    url: "/comprehensive/biyeapply/listOwnSportScore",
    method: "get"
  });
}


export function getOwnStuScoreMajorRank() {
  return request({
    url: "/comprehensive/biyeapply/getOwnStuScoreMajorRank",
    method: "get"
  });
}

export function cancelApply(data) {
  return request({
    url: '/comprehensive/biyeapply/cancelApply',
    method: 'post',
    data
  })
}

export function doApply(data) {
  return request({
    url: "/comprehensive/biyeapply/doApply",
    method: "POST",
    data
  });
}


// 查询优秀毕业生列表
export function listOwnApply(query) {
  return request({
    url: '/comprehensive/biyeapply/listOwnApply',
    method: 'get',
    params: query
  })
}


// 查询优秀毕业生列表
export function listBiyeapply(query) {
  return request({
    url: '/comprehensive/biyeapply/list',
    method: 'get',
    params: query
  })
}

// 查询优秀毕业生详细
export function getBiyeapply(id) {
  return request({
    url: '/comprehensive/biyeapply/' + id,
    method: 'get'
  })
}

// 新增优秀毕业生
export function addBiyeapply(data) {
  return request({
    url: '/comprehensive/biyeapply/add',
    method: 'post',
    data: data
  })
}

// 修改优秀毕业生
export function updateBiyeapply(data) {
  return request({
    url: '/comprehensive/biyeapply/update',
    method: 'post',
    data: data
  })
}

// 删除优秀毕业生
export function delBiyeapply(id) {
  return request({
    url: '/comprehensive/biyeapply/' + id,
    method: 'post'
  })
}
